#include<stdio.h>
int main(void)
{
    int hour,min,i;

    scanf("%d:%d",&hour,&min);

    if(hour<12||(hour<=12&&min==0))
        printf("Only %02d:%02d.  Too early to Dang.",hour,min);    
    else if(min>0)
        for(i=0;i<hour-11;i++){
            
            printf("Dang");
        

        }
        else
            for(i=0;i<hour-12;i++){
            
            printf("Dang");
        

        }

        

        return 0;

}